﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="DynamicBizObj" name="Feature to support dynamic loading of busines objects">
  <Dependencies>
    <Dependency type="feature">BaseFrameworkFeature.xml</Dependency>
  </Dependencies>
  
  <Macros name="DynamicBizObjExpiration">expire after 30 minutes no use</Macros>
  
  <ClassFactory id="BusinessObjects">
    <Class type="Swaf.BizObj.BizObjDefinition,SwafCore" factoryMethod="createInstance" name="BusinessObject"/>
  </ClassFactory>

  <DynamicBizObjRegister>
    <LocalClass name="Swaf.BizObj.ManagementRules,SwafCore"	method="defineBizObj" />
  </DynamicBizObjRegister>

  <ApplicationData>
    <Entry name="BusinessObjects" nodeType="catalog from $CatalogHome$/BusinessObjects" >
      use BusinessObjects factory
    </Entry>
  </ApplicationData>
  
  </Feature>